package com.pig4cloud.pig.propertyroom.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.propertyroom.entity.PropertyRoom;
import com.pig4cloud.pig.resident.feign.entity.Resident;

import java.util.List;

public interface RoomService extends IService<PropertyRoom> {
	PropertyRoom getByFloorIdAndRoomNumber(Long floorId, String roomNumber);

	Resident[] selectResidentByRoomId(Long[] ids);

	PropertyRoom checkRoomByNumber(PropertyRoom roomEntity);

	PropertyRoom getByRoomId(Long roomId);

}
